package com.toubutu.audio.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.toubutu.audio.common.BasePo;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author 戒躁
 * @since 2024-01-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("upload_file_record")
@ApiModel(value = "UploadFileRecord对象", description = "")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UploadFileRecord extends BasePo {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("文件md5")
    private String md5;

    @ApiModelProperty("序列号")
    private Integer seq;
    @ApiModelProperty("文件地址")
    private String url;

    @ApiModelProperty("文件类型 1 切片 2 完整文件")
    private Integer type;

    private String fileName;

    private Integer totalSlices;

}
